
const RouteView = {
  name: 'RouteView',
  render: h => h('router-view')
}

export default {
  path: '/autoflow',
  name: 'autoflow',
  redirect: '/autoflow/business',
  component: RouteView,
  meta: { title: '流程引擎', keepAlive: true, icon: 'deployment-unit' },
  children: [
    {
      path: '/autoflow/business',
      name: 'autoflow-business',
      component: () => import('@/views/autoflow/business/Index'),
      meta: { title: '业务触点管理', keepAlive: true }
    },
    {
      path: '/autoflow/admin',
      name: 'autoflow-admin',
      component: () => import('@/views/autoflow/admin/Index'),
      meta: { title: '流程采集管理', keepAlive: true }
    }
  ]
}
